<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Allowance extends Model
{
    protected $table = 'v_allowance';

    /**
     * 不可批量赋值的属性
     * @var array
     */
    protected $guarded = ['id'];

    const STATUS_USEING = 10;
    const STATUS_RETURN = 20;
    const STATUS_LOSE = 30;

    public static $status = [
        self::STATUS_USEING => '使用中',
        self::STATUS_RETURN => '已退还',
        self::STATUS_LOSE   => '已丢失',
    ];
}
